package com.travel.service;

import java.util.List;
import java.util.Map;

import com.travel.base.BaseService;
import com.travel.bean.Order;
import com.travel.utils.PageHelper;

public interface OrderService extends BaseService<Order> {

	/**
	 * 添加一个多人订单
	 */
	boolean addOrders(List<Order> orders,int days);
	
	/**
	 * 按条件分页查询page
	 * @param map
	 * @param pageNum
	 * @param pageSize
	 * @return
	 */
	PageHelper getPageByMap(Map map ,Integer pageNum,Integer pageSize);
}
